
//
//  Color.m
//  homework-04
//
//  Created by dllo on 16/7/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Color.h"

@implementation Color
- (instancetype)initWithColorName:(NSString *)name sixteenAry:(NSString *)sixteenAry {
    self = [super init];
    if (self) {
        _colorName = name;
        _sixteenAry = sixteenAry;
    }
    return self;
}
- (NSString *)description{
    return [NSString stringWithFormat:@"颜色:%@   十六进制值:%@", _colorName, _sixteenAry];
}
@end
